/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Ticket API
 * 云托管服务的工单API
 *
 * OpenAPI spec version: v1
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;
using JDCloudSDK.Core.Service;

using JDCloudSDK.Common.Model;

namespace  JDCloudSDK.Jdccs.Apis
{

    /// <summary>
    ///  查询工单列表
    /// </summary>
    public class DescribeTicketsRequest : JdcloudRequest
    {
        ///<summary>
        /// 页码, 默认为1
        ///</summary>
        public   int? PageNumber{ get; set; }
        ///<summary>
        /// 分页大小，默认为20
        ///</summary>
        public   int? PageSize{ get; set; }
        ///<summary>
        /// 是否查询全部，默认分页
        ///</summary>
        public   int? All{ get; set; }
        ///<summary>
        /// 工单TAB类型 pendingProcess:待我处理 pendingReview:待审核 processing:处理中 all:全部(默认)
        ///</summary>
        public   string Type{ get; set; }
        ///<summary>
        /// 工单类型
        ///</summary>
        public   string TicketTypeName{ get; set; }
        ///<summary>
        /// 工单类型ID
        ///</summary>
        public   int? TicketTypeId{ get; set; }
        ///<summary>
        /// 工单状态 pendingReview:待审核 revoked:已撤销 processing:处理中 pendingVerification:待核验 pendingClose:待关单 rejected:已拒绝 completed:已完成 cancelled:已取消 draft:草稿中
        ///</summary>
        public   string Status{ get; set; }
        ///<summary>
        /// 工单编号
        ///</summary>
        public   string TicketNo{ get; set; }
        ///<summary>
        /// 工单名称
        ///</summary>
        public   string TicketTemplateName{ get; set; }
        ///<summary>
        /// 描述
        ///</summary>
        public   string Description{ get; set; }
        ///<summary>
        /// 创建开始时间，遵循ISO8601标准，使用UTC时间，格式为：yyyy-MM-ddTHH:mm:ssZ
        ///</summary>
        public   string StartTime{ get; set; }
        ///<summary>
        /// 创建结束时间，遵循ISO8601标准，使用UTC时间，格式为：yyyy-MM-ddTHH:mm:ssZ
        ///</summary>
        public   string EndTime{ get; set; }
        ///<summary>
        /// 提交账号
        ///</summary>
        public   string SubmitAccount{ get; set; }
        ///<summary>
        /// ticketNo - 工单编号，精确匹配，支持多个
        /// 
        ///</summary>
        public List<JDCloudSDK.Common.Model.Filter> Filters{ get; set; }

        ///<summary>
        /// createdTime - 创建时间 closedTime - 关闭时间
        ///</summary>
        public List<JDCloudSDK.Common.Model.Sort> Sorts{ get; set; }

    }
}